@charset 'utf-8';

/* common css 公共样式 */
body {
  font: 14px/1.5 "Microsoft YaHei",Tahoma,"simsun",sans-serif;
  color: #333;
  /* 防止屏幕缩小时，部分内容没有背景颜色 */
  min-width: 1300px;
}

.top_wrapper {
  width: 980px;
  margin: 0 auto;
}

.header_wrapper {
  width: 1300px;
  margin: 0 auto;
}

.main_wrapper {
  width: 1200px;
  margin: 0 auto;
}

/* 单行文本省略 */
.nowrap_ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main_srite{
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(../img/main_sprite.png) no-repeat -192px -64px;
}

/* tab_control css */
.tab_control {
  display: flex;
  align-items: center;
  height: 31px;
  line-height: 29px;
  background-color: #f5f5f5;
}
.tab_control .item {
  flex: 1;
  text-align: center;
  color: #999;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.tab_control .item_wrap {
  flex: 0 auto;
  flex-shrink: 0;
  padding: 0 27px;
}
.tab_control .line {
  width: 1px;
  height: 20px;
  background-color: #e1e1e1;
}
.tab_control .item.active,
.tab_control .item:hover {
  color: #333;
  border-bottom-color: #f3c258;
}

/* video_list */
.video_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.video_list .video_item {
  display: block;
  width: 212px;
  margin-bottom: 20px;
}
.video_list .video_item .album {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.video_list .video_item .album img {
  width: 100%;
}
.video_list .video_item .album .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  line-height: 22px;
  padding: 0 10px;
  background-color: rgba(0,0,0,.6);
  font-size: 12px;
  color: #fff;
}
.video_list .video_item .album .info .count {
  padding-left: 16px;
  background: url(../img/main_sprite.png) no-repeat -256px -59px;
}
.video_list .video_item .album .cover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background-color: rgba(0,0,0,.6);
  transition: all 300ms ease-in;
}
.video_list .video_item:hover .album .cover {
  opacity: 1;
}
.video_list .video_item .album .cover .icon-play {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.video_list .video_item .desc {
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* news_type_match css*/
.news_type_match {
  display: inline-block;
  width: 52px;
  height: 23px;
  margin-right: 12px;
  border-radius: 10px;
  line-height: 23px;
  text-align: center;
  color: #999;
  font-size: 12px;
  background-color: #e3e3e3;
}

/* icon_type css*/
.icon_type {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 2px;
  background: url(../img/main_sprite.png) no-repeat;
}
.icon_type_hot {
  background-position: -162px -67px;
}
.icon_type_fans {
  background-position: -135px -68px;
}
.icon_type_guard {
  background-position: -134px -5px;
}